package com.nativetalk.common.util;

import com.nativetalk.base.Params;
import net.sf.json.JSONObject;

/**
 * Created by lizhun on 16/6/19.
 */
public class JsonToBean {

    public static Params JsonToParams(String params) {
        return (Params) JSONObject.toBean(JSONObject.fromObject(params), Params.class);
    }
}
